package com.shenmazong.controller;


import com.shenmazong.service.TbQuestionService;
import com.shenmazong.utils.ResultResponse;
import com.shenmazong.vo.ListParamVo;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 * 答辩问题表 ——> John 前端控制器
 * </p>
 *
 * @author 还怕大雨吗-
 * @since 2021-09-21
 */
@RestController
@RequestMapping("/tbQuestion")
public class TbQuestionController {

    @Resource
    private TbQuestionService tbQuestionService;

    /***
     * @description 查询全部答辩
     * @params [listParamVo]
     * @return com.shenmazong.utils.ResultResponse
     * @author -还怕大雨吗
     * @date 2021/9/27 18:42
     */
    @PostMapping("/selectQuestion")
    public ResultResponse selectQuestion(ListParamVo listParamVo){
        return tbQuestionService.selectQuestion(listParamVo);
    }

}

